#define _CRT_SECURE_NO_WARNINGS 1
#include"Sort.h"
#include"stack.h"

void TestQuickSort()
{
	int a[] = { 9,1,2,5,7,4,8,6,3,5,1,2,3,5,1,8,3 };
	QuickSort(a, 0, (sizeof(a) / sizeof(a[0]))-1);
}
void TestQuickSortNonR()
{
	int a[] = { 9,1,2,5,7,4,8,6,3,5,1,2,3,5,1,8,3 };
	QuickSortNonR(a,0,sizeof(a) / sizeof(a[0]) - 1);
}

int main()
{
	//TestQuickSort();
	TestQuickSortNonR();
	return 0;
}

